package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

public interface NursingPlanService {

    //查询所有护理计划
    List<NursingPlanVo> getAll();
    /**
     * @param name:
     * @param status:
     * @param pageNum:
     * @param pageSize:
     * @return PageResponse<NursingPlanVo>
     * fenye查询
     */
    PageResponse<NursingPlanVo> pageQuery(String name, Integer status, Integer pageNum, Integer pageSize);
    //根据ID查询
    NursingPlanVo getById(Long id);
    //添加
    int addPlan(NursingPlanDto nursingPlanDto);
    //删除
    int deleteById(Long id);
    //修改状态
    int updateStatus(Long id, Integer status);

    int update(NursingPlanDto nursingPlanDto);
}
